package com.wootion.cims.module.systemsetting.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wootion.cims.module.systemsetting.system.dto.SysInformationDto;
import com.wootion.cims.module.systemsetting.system.model.SysInformation;
import com.wootion.cims.response.ResponseResult;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.sql.SQLException;

/**
 * @Author: LanQiang
 * @Date: 2022/11/23/11:22
 * @Description: 作用xxx
 */
public interface SysInformationService extends IService<SysInformation> {
    /**
     * 保存自定义设置
     */
    ResponseResult saveSysInformation(HttpServletRequest request,SysInformationDto sysInformationDto) throws IOException, SQLException;

    /**
     * 返回给前端系统信息设置
     */
    ResponseResult findTopicSysInformation();
    /**
     * 获取默认设置
     * @return
     */
    ResponseResult findTopicDefaultImageSysInformation(SysInformation sysInformation);
}
